package com.demo.mybatisx.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 
 * @TableName course
 */
@TableName(value ="course")
@Data
@Accessors(chain = true)
public class Course implements Serializable {
    /**
     * 
     */
    @TableId(value = "course_id",type = IdType.ASSIGN_ID)
    private int courseId;

    /**
     * 
     */
    private String courseName;

    /**
     * 
     */
    private String couseDesc;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}